package com.nbicc.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/5/10 13:55
 * @Version 1.0 (版本)
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "finaninfo")
@ExcelTarget("finan")
public class Finan implements Serializable {
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @Excel(name = "合同编号")
    private String setcolumn;
    @Excel(name = "日期",format = "yyyy.MM.dd")
    private Timestamp fdate;
    @Excel(name = "发放单位名称")
    private String fname;
    @Excel(name = "华为云账号")
    private String huaname;
    @Excel(name = "现金券发放金额")
    private BigDecimal grantsum;
    @Excel(name = "已消费金额")
    private BigDecimal consum;
}
